package SolvedProblems;

import java.util.Scanner;

/**
 *
 * @author Power User
 */
public class HashmotTheBrave {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
            while(scan.hasNextLine()){
                long a = Long.parseLong(scan.next());
                long b = Long.parseLong(scan.next());
                scan.nextLine();
                System.out.println(Math.abs(a - b));
            }//end while
   }//end main
}//end class